package logic.avatar
{
	import common.avatar.AvatarSprite;
	import common.core.GSprite;
	import common.manager.keymanager.Key;
	import common.manager.keymanager.KeyCode;
	import common.manager.keymanager.KeyCombo;
	
	import flash.events.Event;
	import flash.events.MouseEvent;
	import flash.geom.Rectangle;
	
	public class PandHand extends AvatarSprite
	{
		private var m_id : String;
		
		private var key : Key;
		
		private var vx : Number;
		private var vy : Number;
		
		public function PandHand()
		{
			key = new Key;
			
			vx = 0;
			vy = 0;
			
			bodyRange = new Rectangle(-5,-5,10,10);
			this.showBodyRange = true;
		}
		
		private function detory() : void
		{
			key = null;
		}
		
		public override function collision(object:GSprite):void
		{
			if(object is Corpse)
			{
				var corpse : Corpse = object as Corpse;
				corpse.curStatu = Corpse.STATU_DEAD;
			}
		}
		
		public override function unCollision(object:GSprite):void
		{
			
		}
		
		public override function update():void
		{
			super.update();
		}
	}
}